package cn.livingCloud.service;

import cn.livingCloud.dto.ArticleDto;
import cn.livingCloud.dto.ArticleFormDto;
import cn.livingCloud.dto.ArticleJsonDto;
import cn.livingCloud.dto.ArticleListDto;
import cn.livingCloud.dto.front.ArticleFrontDto;
import cn.livingCloud.dto.front.ArticleFrontListDto;

import java.util.List;

/**
 * Created by DingJie  on 2016/1/15.
 */
public interface ArticleService {
    void getArticleList(ArticleListDto listDto);

    ArticleDto uploadState(String uuid, boolean publish);

    ArticleFormDto loadArticleFromDto(String uuid);

    void edit(ArticleFormDto formDto);

    void delete(String uuid);

    ArticleFrontDto getArticleFrontDto(String uuid);

    void getArticleFrontListDto(ArticleFrontListDto frontListDto);

    List<ArticleJsonDto> searchList(String key);
}
